.root {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.head {
  display: flex;
  position: sticky;
  top: 0;
  align-items: center;
  justify-content: flex-start;
  z-index: 1;

  padding: var(--vd-spacing-xs);
  gap: var(--vd-spacing-xs);
  background-color: rgba(245, 245, 247, 0.72);
  backdrop-filter: saturate(180%) blur(20px);

  .title {
    font-size: 20px;
    font-weight: bold;
    padding: 0 var(--vd-spacing-md);
    color: var(--vd-color-secondary);
  }

  .category {
    width: 150px;

    :global(.ant-select-selector) {
      background-color: var(--vd-color-gray-200);
    }
  }

  .search {
    width: 400px;
  }

  .category :global(.ant-select-selector),
  .search {
    border: 2px solid var(--vd-color-gray-500);
    border-radius: 12px;
    outline: none;

    &:focus,
    &:hover {
      box-shadow: none !important;
      border: 2px solid var(--vd-color-primary-900) !important;
    }
  }
}

.body {
  flex: 1;
  padding: var(--vd-spacing-sm);
}

.list {
  display: grid;
  grid-template-columns: repeat(auto-fill, 240px);
  grid-gap: var(--vd-spacing-xs);
}
